objects = Start.o UDPClient.o ../common/PeerList/PeerList.o

client: $(objects)
	g++ -g -Wall -o client $(objects) -lpthread

Start.o: UDPClient.h
UDPClient.o: UDPClient.h PeerBase.h ../common/PeerList/PeerList.h
../common/PeerList.o: ../common/PeerList/PeerList.h

.PHONY: clean
clean:
	rm client $(objects)
